package com.cloud.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.system.entity.ProjectAnnex;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统附件
 *
 * @author yzj
 * @since 2022-11-30
 */
@Mapper
public interface SysProjectAnnexMapper extends BaseMapper<ProjectAnnex> {

    /**
     * 系统附件分页
     *
     * @author yzj
     */
    public List<ProjectAnnex> selectSysProjectAnnexList(@Param("param") ProjectAnnex param);

    /**
     * 根据应用项目查询配置列表
     *
     * @param isApply
     * @return
     */
    public List<ProjectAnnex> selectApplyProjectAnnex(@Param("isApply") Integer isApply);

    /**
     * 根据主键查询附件对象
     *
     * @param annexId
     * @return
     */
    public ProjectAnnex selectAnnexInfo(@Param("annexId") Long annexId);

}
